package com.asset.inventory.model

import java.io.Serializable

/**
 *    @author : sibb
 *    date   : 21-4-7
 *    desc   : 盘点任务实体类
 */
data class TaskBean(val status: String?, val data: MutableList<Task>?): Serializable{

    data class Task(val id: Long
                    , val createTime: String?
                    , val updateTime: String?
                    , val name: String?
                    , val code: String?
                    , val status: String?
                    , val account: String?
                    , val dutyResultCount: Int? // 盘点总数
                    , var dutyResultWaitCount: Int? // 待盘点
                    , var dutyResultDoneCount: Int? // 已盘点
                    , val inventoryPlanId: Int?
                    , val inventoryPlanName: String?
                    , val inventoryPlanCode: String?
                    , val inventoryPlanCreateUser: String? // 创建人
                    , val inventoryPlanStartDate: String? // 创建人
                    , val inventoryPlanStatus: String? // 开始时间
                    , val inventoryPlanEndDate: String? // 结束时间
                    , val dutyResults: MutableList<TaskDetailBean.Detail>? // 结束时间
    ): Serializable
}